package net.xdclass.dao;

import net.xdclass.domain.Video;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @description: 视频的dao接口
 * @author: Yz
 * @create: 2020-11-10 14:00
 **/
@Repository
public interface VideoMapper {

    @Select("select * from video where id  = #{videoId}")
    Video findById(@Param("videoId") int videoId);
}

